package com.diandian.backend.log.dto;

import com.diandian.base.boot.starter.exception.DefaultException;

import java.io.Serializable;
import java.util.Date;

public class LogTaskPageParamDTO implements Serializable {

	private Integer pageNum;
	private Integer pageSize;
	private String belongEql;
	private String belongLike;
	private String businessTypeEql;
	private String businessTypeLike;
	private String businessIdEql;
	private String businessIdLike;
	private String taskIdEql;
	private String taskIdLike;
	private String taskNameEql;
	private String taskNameLike;
	private Double percent;
	private String statusEql;
	private String statusLike;
	private Date expectedEndTimeBefore;
	private Date expectedEndTimeAfter;
	private String remarkEql;
	private String remarkLike;
	private String createUserIdEql;
	private String createUserIdLike;
	private String createUserNameEql;
	private String createUserNameLike;
	private Date createTimeBefore;
	private Date createTimeAfter;
	private Date updateTimeBefore;
	private Date updateTimeAfter;
	private Integer del;

	public void check(){
		if(this.pageNum == null || this.pageNum < 1 || this.pageSize == null || this.pageSize < 1){
			throw new DefaultException("分页参数不合法");
		}
	}

	public Integer getPageNum() {
		return pageNum;
	}

	public void setPageNum(Integer pageNum) {
		this.pageNum = pageNum;
	}

	public Integer getPageSize() {
		return pageSize;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}
	public String getBelongEql() {
		return belongEql;
	}
	public void setBelongEql(String belongEql) {
		this.belongEql = belongEql;
	}
	public String getBelongLike() {
		return belongLike;
	}
	public void setBelongLike(String belongLike) {
		this.belongLike = belongLike;
	}
	public String getBusinessTypeEql() {
		return businessTypeEql;
	}
	public void setBusinessTypeEql(String businessTypeEql) {
		this.businessTypeEql = businessTypeEql;
	}
	public String getBusinessTypeLike() {
		return businessTypeLike;
	}
	public void setBusinessTypeLike(String businessTypeLike) {
		this.businessTypeLike = businessTypeLike;
	}
	public String getBusinessIdEql() {
		return businessIdEql;
	}
	public void setBusinessIdEql(String businessIdEql) {
		this.businessIdEql = businessIdEql;
	}
	public String getBusinessIdLike() {
		return businessIdLike;
	}
	public void setBusinessIdLike(String businessIdLike) {
		this.businessIdLike = businessIdLike;
	}
	public String getTaskIdEql() {
		return taskIdEql;
	}
	public void setTaskIdEql(String taskIdEql) {
		this.taskIdEql = taskIdEql;
	}
	public String getTaskIdLike() {
		return taskIdLike;
	}
	public void setTaskIdLike(String taskIdLike) {
		this.taskIdLike = taskIdLike;
	}
	public String getTaskNameEql() {
		return taskNameEql;
	}
	public void setTaskNameEql(String taskNameEql) {
		this.taskNameEql = taskNameEql;
	}
	public String getTaskNameLike() {
		return taskNameLike;
	}
	public void setTaskNameLike(String taskNameLike) {
		this.taskNameLike = taskNameLike;
	}
	public Double getPercent() {
		return percent;
	}
	public void setPercent(Double percent) {
		this.percent = percent;
	}
	public String getStatusEql() {
		return statusEql;
	}
	public void setStatusEql(String statusEql) {
		this.statusEql = statusEql;
	}
	public String getStatusLike() {
		return statusLike;
	}
	public void setStatusLike(String statusLike) {
		this.statusLike = statusLike;
	}
	public Date getExpectedEndTimeBefore() {
		return expectedEndTimeBefore;
	}
	public void setExpectedEndTimeBefore(Date expectedEndTimeBefore) {
		this.expectedEndTimeBefore = expectedEndTimeBefore;
	}
	public Date getExpectedEndTimeAfter() {
		return expectedEndTimeAfter;
	}
	public void setExpectedEndTimeAfter(Date expectedEndTimeAfter) {
		this.expectedEndTimeAfter = expectedEndTimeAfter;
	}
	public String getRemarkEql() {
		return remarkEql;
	}
	public void setRemarkEql(String remarkEql) {
		this.remarkEql = remarkEql;
	}
	public String getRemarkLike() {
		return remarkLike;
	}
	public void setRemarkLike(String remarkLike) {
		this.remarkLike = remarkLike;
	}
	public String getCreateUserIdEql() {
		return createUserIdEql;
	}
	public void setCreateUserIdEql(String createUserIdEql) {
		this.createUserIdEql = createUserIdEql;
	}
	public String getCreateUserIdLike() {
		return createUserIdLike;
	}
	public void setCreateUserIdLike(String createUserIdLike) {
		this.createUserIdLike = createUserIdLike;
	}
	public String getCreateUserNameEql() {
		return createUserNameEql;
	}
	public void setCreateUserNameEql(String createUserNameEql) {
		this.createUserNameEql = createUserNameEql;
	}
	public String getCreateUserNameLike() {
		return createUserNameLike;
	}
	public void setCreateUserNameLike(String createUserNameLike) {
		this.createUserNameLike = createUserNameLike;
	}
	public Date getCreateTimeBefore() {
		return createTimeBefore;
	}
	public void setCreateTimeBefore(Date createTimeBefore) {
		this.createTimeBefore = createTimeBefore;
	}
	public Date getCreateTimeAfter() {
		return createTimeAfter;
	}
	public void setCreateTimeAfter(Date createTimeAfter) {
		this.createTimeAfter = createTimeAfter;
	}
	public Date getUpdateTimeBefore() {
		return updateTimeBefore;
	}
	public void setUpdateTimeBefore(Date updateTimeBefore) {
		this.updateTimeBefore = updateTimeBefore;
	}
	public Date getUpdateTimeAfter() {
		return updateTimeAfter;
	}
	public void setUpdateTimeAfter(Date updateTimeAfter) {
		this.updateTimeAfter = updateTimeAfter;
	}
	public Integer getDel() {
		return del;
	}
	public void setDel(Integer del) {
		this.del = del;
	}
}
